package modele.contrat;

import java.io.Serializable;

import javax.persistence.Entity;

@Entity
public class Action extends Contrat implements Serializable{
	
	private long idAction;
	private double cours, rendement, volatilite;
	
	public Action() {}
	
	public double getCours() {
		return cours;
	}

	public void setCours(double cours) {
		this.cours = cours;
	}

	public double getRendement() {
		return rendement;
	}

	public void setRendement(double rendement) {
		this.rendement = rendement;
	}

	public double getVolatilite() {
		return volatilite;
	}

	public void setVolatilite(double volatilite) {
		this.volatilite = volatilite;
	}

	public long getIdAction() {
		return idAction;
	}

	public void setIdAction(long idAction) {
		this.idAction = idAction;
	}
	
}
